<template>
    <div>
        <Header></Header>
        <router-view></router-view>
        <!-- <Footer v-if="$route.path != '/login' && $route.path != '/register'"></Footer> -->
        <Footer v-if="!$route.meta.isHidden"></Footer>
    </div>
</template>

<script>
import Header from "@/components/Header"
import Footer from "@/components/Footer"
export default {
    name: "app",
    components: {
        Header,
        Footer
    },
    watch: {
        $route: {
            deep: true,
            handler(newval, oldval) {
                console.log(newval);
            }
        }
    }
}
</script>

<style scoped>

</style>